<html>
<body>
    <span wicket:id="message" id="message">Message goes here</span>
    <form wicket:id="form">
      What's your name? <br/>
      <input wicket:id="name" />
      <input type="submit" value="OK" />
      
      <p>Your name is:
        <b><span wicket:id="yourName" /></b>
    </form>
</body>
</html>